package com.cq.hd.app.vo;

import com.cq.hd.common.serialize.Decimal2Serializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class SellDataStatisticsVo implements Serializable {

    @ApiModelProperty(value = "自卖订单金额")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal totalOrderAmt;

    @ApiModelProperty(value = "自卖订单数")
    private Integer totalOrderNum;

    @ApiModelProperty(value = "自卖退款金额")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal refundOrderAmt;

    @ApiModelProperty(value = "自卖退款订单数")
    private Integer refundOrderNum;

}
